﻿using Volo.Abp.DependencyInjection;
using Volo.Abp.MultiTenancy;
using Volo.Abp.Threading;

namespace Xms.Abp.BackgroundJob;

/// <summary>
/// Interface for a schedule (thread) that runs on background to perform some tasks.
/// </summary>
public interface IBackgroundSchedule : IRunnable, ISingletonDependency
{
    string CronExpression { get; set; }
    MultiTenancySides MultiTenancySides { get; set; }
    BackgroundScheduleInfo BackgroundScheduleInfo { get; set; }
}
